namespace SV_USAGERULES_PROCESS_VARIANTS {
﻿#include <process.h>

void foo() {
	_execlp("li", "li", "-al", 0);
	_wexeclp((wchar_t*)"li", (wchar_t*)"li", (wchar_t*)"-al", 0);
}

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>

int main(int argc, char* argv[]) {
	int fd;

	if ((fd = open(argv[1], 0)) == -1) {
		error("can't open %s", argv[1]);
		return -1;
	}
	if (argc == 2) {/* execute command */
		if (system("/bin/sh/", "sh", "-c", argv[1], (char*)0)) { /* SV.USAGERULES.PROCESS_VARIANTS reported here */

            /* some code */
		}
		else {
			error("can't execute %s", argv[1]);
		}
	}
}


#include <process.h>
void foo() {
	execve("li", "li", "-al", 0);
}

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>

int main(int argc, char* argv[]) {
	int fd;

	if ((fd = open(argv[1], 0)) == -1) {
		error("can't open %s", argv[1]);
		return -1;
	}
	if (argc == 2) {/* execute command */
		if (execve("/bin/sh/", "sh", "-c", argv[1], (char*)0)) {
			*/ SV.USAGERULES.PROCESS_VARIANTS not reported * /

				          /* some code */
		}
		else {
			error("can't execute %s", argv[1]);
		}
	}
}
}}